﻿@model ViewDataBusiness.ViewSetting
@{
    ViewBag.Title = Model.ViewTitle;

    ViewBag.jQuery = true;
    ViewBag.jQueryUI = true;
    ViewBag.Json = true;
    ViewBag.Global = true;

    ViewBag.Css = "/Content/ViewSetting/Site.css";
    ViewBag.Js = "/Content/" + ViewContext.RouteData.Values["ViewForder"] + "/" + ViewContext.RouteData.Values["ViewName"] + ".js";
    
    Layout = "~/Views/_Template.cshtml";

    Dictionary<string, object> Info = (Dictionary<string, object>)((List<object>)Model.Operations["浏览客户信息"].OperationData)[0];
}
<script type="text/javascript">var JsonOriginal = @Html.Raw(Model.JsonString);</script> 
<table id="MainTable" cellpadding="0" cellspacing="4">
    <tr><td class="PageTitle"><div class="Title">@Model.ViewTitle > @Info["ct_abbr"]</div></td></tr>     
    <tr><td class="Unit">
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">系统编号</td><td class="Input"><input type="text" value="@Info["voucher_id"]" title="@Info["voucher_id"]" readonly="readonly" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">上级编号</td><td class="Input"><input type="text" value="@Info["ct_id_up"]" title="@Info["ct_id_up"]" readonly="readonly" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">客户编号</td><td class="Input"><input type="text" value="@Info["ct_user_no"]" title="@Info["ct_user_no"]" readonly="readonly" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">门店编号</td><td class="Input"><input type="text" value="@Info["ct_store_no"]" title="@Info["ct_store_no"]" readonly="readonly" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">客户简称</td><td class="Input"><input type="text" value="@Info["ct_abbr"]" title="@Info["ct_abbr"]" readonly="readonly" style="width:200px" /></td></tr></table></div>
        <div class="Clear"></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">客户区域</td><td class="Input"><select title="@Info["ct_area"]" id="ct_area" style="width:106px"><option></option></select></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">客户类型</td><td class="Input"><select title="@Info["ct_type"]" id="ct_type" style="width:106px"><option></option></select></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">货　　位</td><td class="Input"><select title="@Info["loc_id"]" id="loc_id" style="width:106px"><option></option></select></td></tr></table></div>
        <div class="Clear"></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">客户全称</td><td class="Input"><input type="text" id="ct_cn_name" maxlength="50" value="@Info["ct_cn_name"]" title="@Info["ct_cn_name"]" style="width:275px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">客户地址</td><td class="Input"><input type="text" id="ct_addr" maxlength="50" value="@Info["ct_addr"]" title="@Info["ct_addr"]" style="width:550px" /></td></tr></table></div>
        <div class="Clear"></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">业<span> </span>务<span> </span>员</td><td class="Input"><input type="text" id="user_id" maxlength="50" value="@Info["user_id"]" title="@Info["user_id"]" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">联<span> </span>系<span> </span>人</td><td class="Input"><input type="text" id="ct_linkman" maxlength="50" value="@Info["ct_linkman"]" title="@Info["ct_linkman"]" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">手　　机</td><td class="Input"><input type="text" id="moblie" maxlength="50" value="@Info["moblie"]" title="@Info["moblie"]" style="width:100px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">电　　话</td><td class="Input"><input type="text" id="phone" maxlength="50" value="@Info["phone"]" title="@Info["phone"]" style="width:200px" /></td></tr></table></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">传　　真</td><td class="Input"><input type="text" id="fax" maxlength="50" value="@Info["fax"]" title="@Info["fax"]" style="width:100px" /></td></tr></table></div>
        <div class="Clear"></div>
        <div class="Panel"><table cellpadding="0" cellspacing="0"><tr><td class="Name">备　　注</td><td class="Input"><textarea id="remark" title="@Info["remark"]" style="width:900px;height:51px;">@Info["remark"]</textarea></td></tr></table></div>
    </td></tr>
    <tr><td class="ButtonUnit"><button id="ButtonSave">保存</button><button id="ButtonBack">返回</button></td></tr>   
</table>